package org.apache.click.doubleclick.samples.annotconfig.pages;

import org.apache.click.doubleclick.annotationconfig.annotations.LoggingService;
import org.apache.click.service.ConsoleLogService;

@LoggingService
public class CustomLogService extends ConsoleLogService {
    @Override
    public void debug(Object message) {
        System.out.print("doubleclick: ");
        super.debug(message);
    }

    @Override
    public void error(Object message) {
        System.out.print("doubleclick: ");
        super.error(message);
    }

    @Override
    public void info(Object message) {
        System.out.print("doubleclick: ");
        super.info(message);
    }

    @Override
    public void trace(Object message) {
        System.out.print("doubleclick: ");
        super.trace(message);
    }

    @Override
    public void warn(Object message) {
        System.out.print("doubleclick: ");
        super.warn(message);
    }
}
